<%--
  Created by IntelliJ IDEA.
  User: gaoheqiang
  Date: 2022/4/9
  Time: 7:15 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page language="java" import="java.util.*,java.net.*" pageEncoding="UTF-8" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<script type="text/javascript" src="js/jquery-3.3.1.js"></script>
<script type="text/javascript">


</script>


   <a href="http://localhost:8087/user-review2?name=<%=URLEncoder.encode("高河强","UTF-8") %>&age=34"></a>

   <div align="center">
       <p>注册员工</p>
       <form action="http://localhost:8087/insertEmp" method="get">
           <table>
               <tr>
                   <td>姓名:</td>
                   <td><input type="text" name = "empName"></td>
               </tr>
               <tr>
                   <td>年龄:</td>
                   <td><input type="text" name = "age"></td>
               </tr>
               <tr>
                   <td>性别:</td>
                   <td>男<input type="radio" name = "sex" value="男"> </td>
                   <td>女<input type="radio" name = "sex" value="女"></td>
               </tr>
               <tr>
                   <td>邮箱:</td>
                   <td><input type="text" name = "email"></td>
               </tr>

               <tr>
                   <td>部门:</td>
                   <td>财务部<input type="radio" name = "did" value="1"></td>
                   <td>运营部<input type="radio" name = "did" value="2"></td>
               </tr>
               <tr>
                   <td>操作:</td>
                   <td><input type="submit" value="注册"></td>
               </tr>
           </table>
       </form>
   </div>

</body>
</html>
